<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
.field-error, .field-error ul, .field-error li, .action-error, .action-error ul, .action-error li, .action-message, .action-message ul, .action-message li {display:inline;}
.field-error li, action-error li {list-style:none;color:red;}
.action-message li {list-style:none;}
</style>
</head>
<body>
<s:actionerror/>
<s:actionmessage/>
	<table>
		<thead>
			<tr>
				<td>登陆名</td>
				<td>密码</td>
				<td>显示名</td>
			</tr>
		</thead>
		<s:if test="list != null">
		<tbody>
			<s:iterator value="list" id="vo">
				<tr>
					<td><s:url id="url" action="userInput">
							<s:param name="id"><s:property value="#vo.id" /></s:param>
						</s:url>
						<s:a href="%{url}"><s:property value="#vo.name" /></s:a>
					</td>
					<td><s:property value="#vo.password" />
					</td>
					<td><s:property value="#vo.nickname" />
					</td>
				</tr>
			</s:iterator>
		</tbody>
		</s:if>
	</table>
</body>
</html>